import request from '@/utils/request'

export const register = function (data) {
  return request.post('/user/registered', data)
}
export const login = function (data) {
  return request.post('/user/login', data)
}
export const userlist = function () {
  return request.get('/user')
}
